package zhang.com.ssm.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import zhang.com.ssm.po.DocInfo;
import zhang.com.ssm.po.DocInfoExample;

public interface DocInfoMapper {
    int countByExample(DocInfoExample example);

    int deleteByExample(DocInfoExample example);

    int deleteByPrimaryKey(Integer docId);

    int insert(DocInfo record);

    int insertSelective(DocInfo record);

    List<DocInfo> selectByExample(DocInfoExample example);

    DocInfo selectByPrimaryKey(Integer docId);

    int updateByExampleSelective(@Param("record") DocInfo record, @Param("example") DocInfoExample example);

    int updateByExample(@Param("record") DocInfo record, @Param("example") DocInfoExample example);

    int updateByPrimaryKeySelective(DocInfo record);

    int updateByPrimaryKey(DocInfo record);
}